import {NgModule} from '@angular/core';
import {RouterModule, Routes} from "@angular/router";
import {LiveBroadcastComponent} from "@share/live-broadcast/live-broadcast.component";
import {CreateSuccessComponent} from "@share/group-center/group-center.component";
import {ShareComponent} from "@share/share.component";

const routes: Routes = [
  {
    path: '',
    component: ShareComponent,
  },
  {
    path: 'group-center/:groupId',
    component: CreateSuccessComponent,
  },
  {
    path: 'live-broadcast/:liveId',
    component: LiveBroadcastComponent,
  },
  {
    path: 'group-center/:groupId',
    component: CreateSuccessComponent,
  },

];

@NgModule({
  imports: [
    RouterModule.forChild(routes)
  ],
  exports: [RouterModule]
})
export class ShareRoutingModule {
}
